import tkinter as tk
def enterbox(msg,title,button1,button2):
    master = tk.Tk()
    master.title(title)
    tk.Label(master, text=msg).grid(row=0)
    e = tk.Entry(master)
    e.grid(row=0, column=1, padx=10, pady=5)
    tk.Button(master, text=button1, width=10).grid(row=3, column=0, sticky="w", padx=10, pady=5)
    tk.Button(master, text=button2, width=10).grid(row=3, column=1, sticky="e", padx=10, pady=5)
    master.mainloop()
